import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/problem/` + url, ...arg)

export default {
	async save(data){
		return await request('save', data, 'post')
	},
	async list(data){
		return await request('list', data, 'post')
	}
}
